package org.bulu.project.system.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.bulu.project.system.enums.LogModuleEnum;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 系统日志分页VO
 *
 * @author Ray
 * @since 2.10.0
 */
@Data
public class LogPageVO implements Serializable {

    private Long id;

    private LogModuleEnum module;

    private String content;

    private String requestUri;

    private String method;

    private String ip;

    private String region;

    private String browser;

    private String os;

    private Long executionTime;

    private Long createBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    private String operator;
}